import request from '@/utils/request'
// 封装登录接口
export const login = data => request.post('/auth/login', data)

// 获取用户信息
export const userInfo = () => request.get('/auth/currentUser')
